package com.yaorange.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 合格证打印对象 njt_certificate_print
 * 
 * @author Mmj
 * @date 2025-02-28
 */
public class NjtCertificatePrint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账号 */
    @Excel(name = "账号")
    private String mobilePhone;

    /** 生产主体 */
    @Excel(name = "生产主体")
    private Long subjectIdentity;

    /** 开具日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开具日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPersonName;

    /** 产品名称 */
    private String productName;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String area;

    /** 镇/乡 */
    @Excel(name = "镇/乡")
    private String country;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 生产地址 */
    @Excel(name = "生产地址")
    private String produceAddress;

    /** 检验机构 */
    @Excel(name = "检验机构")
    private String inspectBody;

    /** 合格方式 */
    @Excel(name = "合格方式")
    private Long qualifiedMode;

    /** 合格证编号 */
    @Excel(name = "合格证编号")
    private Long qualifiedNumber;

    /** 数据来源 */
    private Long dataSources;

    /** 被扫查验 */
    private Long scanCheck;

    /** 食用农产品名称 */
    @Excel(name = "食用农产品名称")
    private String edibleAgriculturalProductName;

    /** 重量（数量） */
    @Excel(name = "重量", readConverterExp = "数=量")
    private Long quality;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 检测报告 */
    @Excel(name = "检测报告")
    private String detectReport;

    /** 打印次数 */
    @Excel(name = "打印次数")
    private Long paintNumber;

    /** 扫描次数 */
    @Excel(name = "扫描次数")
    private Long scanNumber;

    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() 
    {
        return mobilePhone;
    }
    public void setSubjectIdentity(Long subjectIdentity) 
    {
        this.subjectIdentity = subjectIdentity;
    }

    public Long getSubjectIdentity() 
    {
        return subjectIdentity;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }
    public void setProduceAddress(String produceAddress) 
    {
        this.produceAddress = produceAddress;
    }

    public String getProduceAddress() 
    {
        return produceAddress;
    }
    public void setInspectBody(String inspectBody) 
    {
        this.inspectBody = inspectBody;
    }

    public String getInspectBody() 
    {
        return inspectBody;
    }
    public void setQualifiedMode(Long qualifiedMode) 
    {
        this.qualifiedMode = qualifiedMode;
    }

    public Long getQualifiedMode() 
    {
        return qualifiedMode;
    }
    public void setQualifiedNumber(Long qualifiedNumber) 
    {
        this.qualifiedNumber = qualifiedNumber;
    }

    public Long getQualifiedNumber() 
    {
        return qualifiedNumber;
    }
    public void setDataSources(Long dataSources) 
    {
        this.dataSources = dataSources;
    }

    public Long getDataSources() 
    {
        return dataSources;
    }
    public void setScanCheck(Long scanCheck) 
    {
        this.scanCheck = scanCheck;
    }

    public Long getScanCheck() 
    {
        return scanCheck;
    }
    public void setEdibleAgriculturalProductName(String edibleAgriculturalProductName) 
    {
        this.edibleAgriculturalProductName = edibleAgriculturalProductName;
    }

    public String getEdibleAgriculturalProductName() 
    {
        return edibleAgriculturalProductName;
    }
    public void setQuality(Long quality) 
    {
        this.quality = quality;
    }

    public Long getQuality() 
    {
        return quality;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setDetectReport(String detectReport) 
    {
        this.detectReport = detectReport;
    }

    public String getDetectReport() 
    {
        return detectReport;
    }
    public void setPaintNumber(Long paintNumber) 
    {
        this.paintNumber = paintNumber;
    }

    public Long getPaintNumber() 
    {
        return paintNumber;
    }
    public void setScanNumber(Long scanNumber) 
    {
        this.scanNumber = scanNumber;
    }

    public Long getScanNumber() 
    {
        return scanNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mobilePhone", getMobilePhone())
            .append("subjectIdentity", getSubjectIdentity())
            .append("issueDate", getIssueDate())
            .append("legalPersonName", getLegalPersonName())
            .append("productName", getProductName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("country", getCountry())
            .append("detailAddress", getDetailAddress())
            .append("produceAddress", getProduceAddress())
            .append("inspectBody", getInspectBody())
            .append("qualifiedMode", getQualifiedMode())
            .append("qualifiedNumber", getQualifiedNumber())
            .append("dataSources", getDataSources())
            .append("scanCheck", getScanCheck())
            .append("edibleAgriculturalProductName", getEdibleAgriculturalProductName())
            .append("quality", getQuality())
            .append("unit", getUnit())
            .append("detectReport", getDetectReport())
            .append("paintNumber", getPaintNumber())
            .append("scanNumber", getScanNumber())
            .toString();
    }
}
